<?php
class model{
    protected $mysql;
    public function connectMysqlDB($dbname="zuoye") {
        require DOCMENT_ROOT."/Framework/mysqlDB.class.php";
        $this->mysql = new mysqlDB();
        //选择数据库
        $this->mysql->selectDB($dbname);
    }
}

